
import Home from './components/Home/home.vue';
import News from './components/News/news.vue';
import Spcar from './components/Spcar/spcar.vue';
import Product from './components/Product/product.vue';
import My from './components/My/my.vue';
import Detail from './components/Detail/detail.vue';


//定义静态路由表
export const routes =[
    {path:'/',component:Home},
    {path:'/news',component:News},
    {path:'/my',component:My},
    {path:'/product',component:Product,children:[
        
    ]},
    {path:'/detail/:id',component:Detail},
    {path:'/spcar',component:Spcar},
    // {path:'/news',component:News,children:[
        
    // ]}
]

